package com.naiterui.common.jinshuju.bean;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;

/**
 *
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class JinshujuFormField implements Serializable {

    private static final long serialVersionUID = 2726140305344342365L;

    private String label;
    private String type;
    private String notes;
    private Map<String, Object> validation;
    @JsonProperty("allow_other")
    private Boolean allowOther;
    @JsonProperty("date_type")
    private String dateType;
    @JsonProperty("private")
    private Boolean ifPrivate;
    private List<Object> choices;

}
